<%@page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page contentType="text/html;charset=utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://smartstruts.org/taglib" prefix="smart"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>添加商品 -- 当当网</title>
		<!-- 引入外部 css 文件 -->
		<link rel="stylesheet" href="../css/tarena.css" type="text/css" />
		<link rel="stylesheet" href="../css/gwap.css" type="text/css" />
		<link href="../css/my_order.css" rel="stylesheet" type="text/css" />
		<link href="../css/mydd_title.css" rel="stylesheet" type="text/css" />
		<link href="../css/mydd_leftnavi.css" rel="stylesheet" type="text/css" />
		<link href="../css/my_dd.css" rel="stylesheet" type="text/css" />
		<link href="../css/mydd_public.css" rel="stylesheet" type="text/css" />
	
	</head>
	<body>
	<form method="post" action="addProduct"
			name="addpro">
			
		<div align="center">
			<!--页头开始-->
		<%@include file="../common/head.jsp" %>
			<!--页头结束-->
		</div>
		<!--操作区-->
		<div class="mdtitle">
			<div class="mdtitle_cont">
				<div class="mdtitle_img">
					<img src="../images/xtgl_pic.gif" />
				</div>
				<div class="mdtitle_lasttime">
					<span class="gray666" id="loginfospan"> </span>
				</div>
				<div class="mdtitle_navi">
					<ul class="mdtitle_ul">
						<li>
							<span class="font_12_1a66b3">添加产品</span>
						</li>
					</ul>
				</div>
			</div>
			<div class="mdtitle_shadow"></div>
		</div>
		<div class="main_frame">
			<!--左栏-->
			<div class="mdlnavi">
				<div class="left_dd">
					<div class="title">
						用户管理
					</div>
					<ul>
						<li>
							<a href="userList">用户列表</a>
						</li>
					</ul>
				</div>
				<div class="left_dd">
					<div class="title">
						商品管理
					</div>
					<ul>
						<li>
							&nbsp;&nbsp;&nbsp;添加商品
						</li>
						<li>
							<a name="myemail" href="productList"
								target="_parent">商品列表</a>
						</li>
						<li class="lilast">
							&nbsp;
						</li>
					</ul>
				</div>
				<!--个人信息结束-->
				<div style="margin: 20px 0; text-align: center">
					<input type="button" herf="managerExit"	value="退出登录" />
				</div>
			</div>
			<!-- 左栏结束 -->
			<!--账户右栏开始-->
			<div class="main_right">
				<table cellpadding="0" cellspacing="0" border="0" width="100%"
					style="background-color: #f4feff; border: 1px solid #d3d3d3; margin-bottom: 4px">
					<tbody>
						<tr>
							<td>
								<div>
									
										<table width="100%" align="center" cellpadding="3"
											cellspacing="15" class="tableborder1">
											<tr>		<!-- productName(*) -->
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">图&nbsp;&nbsp;书&nbsp;&nbsp;名&nbsp;&nbsp;称：</span>
												</td>
												<td width="80%" valign="middle" class=tablebody1>
													<input name="productName" type="text" class="InputArea2" />
													&nbsp;
													<span class="redfont" id="productNameHints">*</span>
												</td>
											</tr>
											<tr>		<!-- totalPage -->
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">页&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;数：</span>
												</td>
												<td width="80%" valign="middle" class=tablebody1>
													<input name="totalPage" type="text" class="InputArea"
														id="productSize" />
													&nbsp;
													<span class="redfont" id="productBrandHints">*</span>
												</td>
											</tr>
											<tr>		<!-- fixedPrice -->
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">订&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;价：</span>
												</td>
												<td valign="middle" class=tablebody1>
													<input name="fixedPrice" type="text" class="InputArea3"
														id="productPrice" />
													&nbsp;￥
													<span class="redfont" id="productPriceHints2">*</span>
												</td>
											</tr>
											<tr>		<!-- dangPrice(*) -->
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">当&nbsp;&nbsp;&nbsp;当&nbsp;&nbsp;&nbsp;&nbsp;价：</span>
												</td>
												<td valign="middle" class=tablebody1>
													<input name="dangPrice" type="text" class="InputArea3"
														id="productPrice" />
													&nbsp;￥
													<span class="redfont" id="productPriceHints2">*</span>
												</td>
											</tr>
											<tr>		<!-- publisher -->
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">出&nbsp;&nbsp;版&nbsp;&nbsp;社：</span>
												</td>
												<td valign="middle" class=tablebody1>
													<input name="publisher" type="text" class="InputArea"
														id="productMadeAdd" />
												</td>
											</tr>
											
											<tr>		<!-- publishTime -->
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">出&nbsp;&nbsp;版&nbsp;&nbsp;时&nbsp;&nbsp;间：</span>
												</td>
												<td valign="middle" class=tablebody1>
													<input name="publishTime" type="text" class="InputArea"
														id="productMadeAdd" />
												</td>
											</tr>
											
											<tr>		<!-- whichEdition -->
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">第&nbsp;&nbsp;几&nbsp;&nbsp;版：</span>
												</td>
												<td valign="middle" class=tablebody1>
													<input name="whichEdition" type="text" class="InputArea"
														id="productMadeAdd" />
												</td>
											</tr>
										<tr>		<!-- wordNumber -->
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">字&nbsp;&nbsp;&nbsp;&nbsp;数：</span>
												</td>
												<td valign="middle" class=tablebody1>
													<input name="wordNumber" type="text" class="InputArea"
														id="productMadeAdd" />
												</td>
											</tr>
		
											<tr>		<!-- author -->
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">作&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;者：</span>
												</td>
												<td valign="middle" class=tablebody1>
													<input name="author" type="text" class="InputArea"
														id="productBrand" />
												</td>
											</tr>
											<tr>		<!-- isbn -->
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">I&nbsp;&nbsp;S&nbsp;&nbsp;B&nbsp;&nbsp;N：</span>
												</td>
												<td valign="middle" class=tablebody1>
													<input name="isbn" type="text" class="InputArea"
														id="productBrand" />
												</td>
											</tr>
			
											<tr>		<!-- keywords -->
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">搜&nbsp;索&nbsp;关&nbsp;键&nbsp;字：</span>
												</td>
												<td valign="middle" class=tablebody1>
													<input name="keywords" type="text" class="InputArea"
														id="productBrand" />
												</td>
											</tr>
											
											<tr>		<!-- printNumber -->
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">印&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;次：</span>
												</td>
												<td valign="middle" class=tablebody1>
													<input name="printNumber" type="text" class="InputArea"
														id="productBrand" />
												</td>
											</tr>
											
											<tr>		<!-- printTime -->
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">印&nbsp;&nbsp;刷&nbsp;&nbsp;时&nbsp;&nbsp;间：</span>
												</td>
												<td valign="middle" class=tablebody1>
													<input name="printTime" type="text" class="InputArea"
														id="productBrand" />
												</td>
											</tr>
															
											<tr>	<!-- categoryId -->
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">所&nbsp;&nbsp;属&nbsp;&nbsp;类&nbsp;&nbsp;别：</span>
												</td>
												<td valign="middle" class=tablebody1>
													<select name="categoryId">

														<option value="1">
															小说
														</option>
														<option value="2">
															&nbsp;&nbsp;当代小说
														</option>
														<option value="3">
															&nbsp;&nbsp;近代小说
														</option>
														<option value="4">
															文艺
														</option>
													</select>
												</td>
											</tr>
										
											<tr>		<!-- description -->
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">简&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;介：</span>
												</td>
												<td valign="middle" class=tablebody1>
													<label>
														<textarea name="description" id="introduction" cols="45"
															rows="5"></textarea>
													</label>
												</td>
											</tr>
											<tr>
												<td class="tablebody1" valign="middle" align="right"
													width="20%">
													<span class="font_12_1a66b3">产&nbsp;&nbsp;品&nbsp;&nbsp;图&nbsp;&nbsp;片：</span>
												</td>
												<td valign="middle" class=tablebody1>
													<input type="file" name="productPic" id="formFile" />
													&nbsp;
													<span class="redfont" id="productNameHints">*</span>&nbsp;&nbsp;
													<span class="redfont" id="productPriceHints2">只能上传"JPG,jpg,GIF,gif"类型，小于1024KB的图片。</span>
												</td>
											</tr>
											<tr>
												<td colspan="2" align="center" valign="middle"
													class="tablebody1">
													<input type="submit" value="确认提交"
														onclick="return checkinput()" />
													<input type="reset" name="reset" id="reset" value="重置" />
												</td>
											</tr>
										</table>
									
								</div>
							</td>
						</tr>
						<tr>
						</tr>
					</tbody>
				</table>
			</div>
		</div>

			<!--页尾开始 -->
				<%@include file="../common/foot.jsp" %>
			<!--页尾结束 -->
		
	</form>
	</body>
</html>
